import request from '@/utils/request'

// 查询基地标签列表
export function listBaseBabel(query) {
  return request({
    url: '/travel/baseBabel/list',
    method: 'get',
    params: query
  })
}

// 查询基地标签详细
export function getBaseBabel(id) {
  return request({
    url: '/travel/baseBabel/' + id,
    method: 'get'
  })
}

// 新增基地标签
export function addBaseBabel(data) {
  return request({
    url: '/travel/baseBabel',
    method: 'post',
    data: data
  })
}

// 修改基地标签
export function updateBaseBabel(data) {
  return request({
    url: '/travel/baseBabel',
    method: 'put',
    data: data
  })
}

// 删除基地标签
export function delBaseBabel(id) {
  return request({
    url: '/travel/baseBabel/' + id,
    method: 'delete'
  })
}
